package com.hfkh.keyun.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hfkh.keyun.entity.Video;
import com.hfkh.keyun.mapper.VideoMapper;
import com.hfkh.keyun.service.VideoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class VideoServiceImpl extends ServiceImpl<VideoMapper, Video> implements VideoService {
    @Resource
    private VideoMapper videoMapper;

    @Override
    public Integer thumbVideo(Integer id) {
        return videoMapper.thumbVideo(id);
    }
}
